﻿using UnityEngine;
using MGFramework;

public class GamePanel : PanelBase {


    protected override void InitPanel()
    {
        BindButton(transform, "btn_prev", () =>
        {
            UICenter.instance.OpenPanel("StartPanel", UIAnimType.RIGHTTOLEFT);
        });

        BindButton(transform, "btn_next", () =>
        {
            Debug.Log("下一页");
            OpenClick();
        });
    }

    public override void CallPanelMethod(int method, params object[] data)
    {

    }
}
